import { createRouter , createWebHashHistory } from "vue-router";
import home from '../page/Layout/Appmain/AppMain.vue'

const router = createRouter({
    history:createWebHashHistory(),
    routes:[
        {
            path:'/',
            component:()=>import('@/page/Layout/Layout.vue')
        },
        {
            path:'/home',
            component:()=>import('../page/Layout/Layout.vue')
        },
        {
            path:'/channel',
            component:()=>import('@/channel/channel.vue')
        },
        {
            path:'/discover',
            component:()=>import('../discover/discover.vue')
        },
        {
            path:'/pc',
            component:()=>import('../personalCenter/personal.vue')
        },
        {
            path:'/tst',
            component:()=>import('../TalkSubject/talkSubject.vue')
        },
      
    ]
})

export default router